Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
FeedLoad(Byte[],Int32,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > FeedLoad Method : FeedLoad(Byte[],Int32,Int32) Method




data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.
Supplies image data to the file-load process from a buffer that you provide.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub FeedLoad( _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim data() As Byte
Dim offset As Integer
Dim length As Integer
 
instance.FeedLoad(data, offset, length)
C# 
public void FeedLoad( 
   byte[] data,
   int offset,
   int length
)
Managed Extensions for C++ 
public: void FeedLoad( 
   byte[] data,
   int offset,
   int length
) 
C++/CLI 
public:
void FeedLoad( 
   array<byte> data,
   int offset,
   int length
) 

Parameters

data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.

Example

For an example, refer to StartFeedLoad.

Remarks

Use this method with the StartFeedLoad and StopFeedLoad methods.

For a description of how the methods relate to each other, refer to StartFeedLoad.

LEADTOOLS will attempt to load corrupted files, so you can see at least a portion of the image. For these images, the load methods succeed, but LoadStatus will return an error code.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also